<template>
  <div>
    <table border="1" width="50%">
      <tr>
        <th>商品</th>
        <th>价格</th>
        <th>种类</th>
      </tr>
      <tr v-for="(item, index) in arr" :key="index">
        <td>{{ item.name }}</td>
        <td>{{ item.sex }}</td>
        <td>{{ item.age }}</td>
      </tr>
    </table>
    <paging></paging>
  </div>
  
</template>

<script>
import bus from "@/js/bus";
export default {
  data() {
    return {
      arr: [
        { name: "短袖", kind: "上衣", price: 600 },
        { name: "短裤", kind: "裤子", price: 200 },
        { name: "拖鞋", kind: "鞋子", price: 500 },
        { name: "短袖", kind: "上衣", price: 600 },
        { name: "短裤", kind: "裤子", price: 200 },
        { name: "拖鞋", kind: "鞋子", price: 500 },
        { name: "短袖", kind: "上衣", price: 600 },
        { name: "短裤", kind: "裤子", price: 200 },
        { name: "拖鞋", kind: "鞋子", price: 500 },
        { name: "短袖", kind: "上衣", price: 600 },
        { name: "短裤", kind: "裤子", price: 200 },
        { name: "拖鞋", kind: "鞋子", price: 500 },
        { name: "短袖", kind: "上衣", price: 600 },
        { name: "短裤", kind: "裤子", price: 200 },
        { name: "拖鞋", kind: "鞋子", price: 500 },
        { name: "短袖", kind: "上衣", price: 600 },
        { name: "短裤", kind: "裤子", price: 200 },
        { name: "拖鞋", kind: "鞋子", price: 500 },
      ],
    };
  },
};
</script>

<style>
</style>